/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2022-09-19 15:17:54
 * @LastEditors: sueRimn
 * @LastEditTime: 2022-09-19 17:30:57
 */

const state = {
  sidebar: {
    open: true,
    collapseTransition: false
  }

}
const mutations = {
  TOGGLE_SIDERBAR(state) {
    state.sidebar.open = !state.sidebar.open;
  }
}
const actions = {
  toggleSideBar({ commit, state }) {
    commit("TOGGLE_SIDERBAR");
  }
}
export default {
  namespaced: true,
  state,
  mutations,
  actions
}